package com.xspace.android.imcommon.interfaces;


public class NotifyMg {
	private ServiceManager mServiceManager = null;

	private NotifyMg() {
		mServiceManager = ImServiceConnection.getInstance().getImServiceConnection();
	}

	private static NotifyMg instance = null;

	public static NotifyMg getInstance() {
		if (null == instance) {
			instance = new NotifyMg();
		}
		return instance;
	}


	public boolean isNotifyAlert() {
        return mServiceManager.isNotifyAlert();
	}

	public boolean isNotifyvibation() {
         return mServiceManager.isNotifyvibation();
	}

	public boolean isNotifyOpen() {
         return mServiceManager.isNotifyOpen();
	}

	public boolean setNotifyAlert(boolean flag) {
          return mServiceManager.setNotifyAlert(flag);
	}

	public boolean setNotifyvibation(boolean flag) {
         return mServiceManager.setNotifyvibation(flag);
	}

	public boolean setNotifyOpen(boolean flag) {
        return mServiceManager.setNotifyOpen(flag);
	}
}